using BookingSystem.Entities;
using BookingSystem.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace BookingSystem.Service
{
    [TestClass]
    public class ResourceServiceTests
    {
        private ResourceService _service;

        [TestInitialize]
        public void TestInitialize()
        {
            _service = new ResourceService();
        }


        [TestMethod]
        public void Save_NewRoom()
        {
            var room = new Resource();
            _service.Save(room);

            Assert.AreEqual(room.Id, 1);
        }

        
    }
}